package com.autohome.wz.business.order.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Order implements Serializable {
    private Integer id;

    private String ordernum;

    private Integer buyerid;

    private Date buytime;

    private Date expirationtime;

    private String remark;

    private Integer status;

    private Long clientip;

    private Integer type;

    private String idcode;

    private Integer sellerid;

    private String payTradeNo;

    private String extIdcode;

    private String additionalInfo;

    private String buyername;

    private String buyerphone;

    private Date finishedtime;

    private Date paytime;

    private Date processingTime;

    private String ext1;

    private String ext2;

    private String ext3;

    private Integer sysVersion;

    private Integer sysPlatform;

    private String source;

    private Long updatetimestamp;

    private String channel;

    private Integer userAddressId;

    private Integer techParnterId;

    private BigDecimal actualpayment;

    private BigDecimal orderprice;

    private Integer subnumber;

    private String orderRoute;

    private String buyernameEn;

    private String buyerphoneEn;

    private String buyerphoneHash;

    private Integer invoiceId;

    private Integer disaccount;

    private Integer pricechannelid;

    private Integer orderExtstatus;

    private Integer autouserid;

    private String autousername;

    private String statisticsinfo;

    private String batchno;

    private String buserId;

    private String pvareaid;

    private String device;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum == null ? null : ordernum.trim();
    }

    public Integer getBuyerid() {
        return buyerid;
    }

    public void setBuyerid(Integer buyerid) {
        this.buyerid = buyerid;
    }

    public Date getBuytime() {
        return buytime;
    }

    public void setBuytime(Date buytime) {
        this.buytime = buytime;
    }

    public Date getExpirationtime() {
        return expirationtime;
    }

    public void setExpirationtime(Date expirationtime) {
        this.expirationtime = expirationtime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getClientip() {
        return clientip;
    }

    public void setClientip(Long clientip) {
        this.clientip = clientip;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode == null ? null : idcode.trim();
    }

    public Integer getSellerid() {
        return sellerid;
    }

    public void setSellerid(Integer sellerid) {
        this.sellerid = sellerid;
    }

    public String getPayTradeNo() {
        return payTradeNo;
    }

    public void setPayTradeNo(String payTradeNo) {
        this.payTradeNo = payTradeNo == null ? null : payTradeNo.trim();
    }

    public String getExtIdcode() {
        return extIdcode;
    }

    public void setExtIdcode(String extIdcode) {
        this.extIdcode = extIdcode == null ? null : extIdcode.trim();
    }

    public String getAdditionalInfo() {
        return additionalInfo;
    }

    public void setAdditionalInfo(String additionalInfo) {
        this.additionalInfo = additionalInfo == null ? null : additionalInfo.trim();
    }

    public String getBuyername() {
        return buyername;
    }

    public void setBuyername(String buyername) {
        this.buyername = buyername == null ? null : buyername.trim();
    }

    public String getBuyerphone() {
        return buyerphone;
    }

    public void setBuyerphone(String buyerphone) {
        this.buyerphone = buyerphone == null ? null : buyerphone.trim();
    }

    public Date getFinishedtime() {
        return finishedtime;
    }

    public void setFinishedtime(Date finishedtime) {
        this.finishedtime = finishedtime;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Date getProcessingTime() {
        return processingTime;
    }

    public void setProcessingTime(Date processingTime) {
        this.processingTime = processingTime;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1 == null ? null : ext1.trim();
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2 == null ? null : ext2.trim();
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3 == null ? null : ext3.trim();
    }

    public Integer getSysVersion() {
        return sysVersion;
    }

    public void setSysVersion(Integer sysVersion) {
        this.sysVersion = sysVersion;
    }

    public Integer getSysPlatform() {
        return sysPlatform;
    }

    public void setSysPlatform(Integer sysPlatform) {
        this.sysPlatform = sysPlatform;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Long getUpdatetimestamp() {
        return updatetimestamp;
    }

    public void setUpdatetimestamp(Long updatetimestamp) {
        this.updatetimestamp = updatetimestamp;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel == null ? null : channel.trim();
    }

    public Integer getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(Integer userAddressId) {
        this.userAddressId = userAddressId;
    }

    public Integer getTechParnterId() {
        return techParnterId;
    }

    public void setTechParnterId(Integer techParnterId) {
        this.techParnterId = techParnterId;
    }

    public BigDecimal getActualpayment() {
        return actualpayment;
    }

    public void setActualpayment(BigDecimal actualpayment) {
        this.actualpayment = actualpayment;
    }

    public BigDecimal getOrderprice() {
        return orderprice;
    }

    public void setOrderprice(BigDecimal orderprice) {
        this.orderprice = orderprice;
    }

    public Integer getSubnumber() {
        return subnumber;
    }

    public void setSubnumber(Integer subnumber) {
        this.subnumber = subnumber;
    }

    public String getOrderRoute() {
        return orderRoute;
    }

    public void setOrderRoute(String orderRoute) {
        this.orderRoute = orderRoute == null ? null : orderRoute.trim();
    }

    public String getBuyernameEn() {
        return buyernameEn;
    }

    public void setBuyernameEn(String buyernameEn) {
        this.buyernameEn = buyernameEn == null ? null : buyernameEn.trim();
    }

    public String getBuyerphoneEn() {
        return buyerphoneEn;
    }

    public void setBuyerphoneEn(String buyerphoneEn) {
        this.buyerphoneEn = buyerphoneEn == null ? null : buyerphoneEn.trim();
    }

    public String getBuyerphoneHash() {
        return buyerphoneHash;
    }

    public void setBuyerphoneHash(String buyerphoneHash) {
        this.buyerphoneHash = buyerphoneHash == null ? null : buyerphoneHash.trim();
    }

    public Integer getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(Integer invoiceId) {
        this.invoiceId = invoiceId;
    }

    public Integer getDisaccount() {
        return disaccount;
    }

    public void setDisaccount(Integer disaccount) {
        this.disaccount = disaccount;
    }

    public Integer getPricechannelid() {
        return pricechannelid;
    }

    public void setPricechannelid(Integer pricechannelid) {
        this.pricechannelid = pricechannelid;
    }

    public Integer getOrderExtstatus() {
        return orderExtstatus;
    }

    public void setOrderExtstatus(Integer orderExtstatus) {
        this.orderExtstatus = orderExtstatus;
    }

    public Integer getAutouserid() {
        return autouserid;
    }

    public void setAutouserid(Integer autouserid) {
        this.autouserid = autouserid;
    }

    public String getAutousername() {
        return autousername;
    }

    public void setAutousername(String autousername) {
        this.autousername = autousername == null ? null : autousername.trim();
    }

    public String getStatisticsinfo() {
        return statisticsinfo;
    }

    public void setStatisticsinfo(String statisticsinfo) {
        this.statisticsinfo = statisticsinfo == null ? null : statisticsinfo.trim();
    }

    public String getBatchno() {
        return batchno;
    }

    public void setBatchno(String batchno) {
        this.batchno = batchno == null ? null : batchno.trim();
    }

    public String getBuserId() {
        return buserId;
    }

    public void setBuserId(String buserId) {
        this.buserId = buserId == null ? null : buserId.trim();
    }

    public String getPvareaid() {
        return pvareaid;
    }

    public void setPvareaid(String pvareaid) {
        this.pvareaid = pvareaid == null ? null : pvareaid.trim();
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device == null ? null : device.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Order other = (Order) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrdernum() == null ? other.getOrdernum() == null : this.getOrdernum().equals(other.getOrdernum()))
            && (this.getBuyerid() == null ? other.getBuyerid() == null : this.getBuyerid().equals(other.getBuyerid()))
            && (this.getBuytime() == null ? other.getBuytime() == null : this.getBuytime().equals(other.getBuytime()))
            && (this.getExpirationtime() == null ? other.getExpirationtime() == null : this.getExpirationtime().equals(other.getExpirationtime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getClientip() == null ? other.getClientip() == null : this.getClientip().equals(other.getClientip()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getIdcode() == null ? other.getIdcode() == null : this.getIdcode().equals(other.getIdcode()))
            && (this.getSellerid() == null ? other.getSellerid() == null : this.getSellerid().equals(other.getSellerid()))
            && (this.getPayTradeNo() == null ? other.getPayTradeNo() == null : this.getPayTradeNo().equals(other.getPayTradeNo()))
            && (this.getExtIdcode() == null ? other.getExtIdcode() == null : this.getExtIdcode().equals(other.getExtIdcode()))
            && (this.getAdditionalInfo() == null ? other.getAdditionalInfo() == null : this.getAdditionalInfo().equals(other.getAdditionalInfo()))
            && (this.getBuyername() == null ? other.getBuyername() == null : this.getBuyername().equals(other.getBuyername()))
            && (this.getBuyerphone() == null ? other.getBuyerphone() == null : this.getBuyerphone().equals(other.getBuyerphone()))
            && (this.getFinishedtime() == null ? other.getFinishedtime() == null : this.getFinishedtime().equals(other.getFinishedtime()))
            && (this.getPaytime() == null ? other.getPaytime() == null : this.getPaytime().equals(other.getPaytime()))
            && (this.getProcessingTime() == null ? other.getProcessingTime() == null : this.getProcessingTime().equals(other.getProcessingTime()))
            && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
            && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
            && (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()))
            && (this.getSysVersion() == null ? other.getSysVersion() == null : this.getSysVersion().equals(other.getSysVersion()))
            && (this.getSysPlatform() == null ? other.getSysPlatform() == null : this.getSysPlatform().equals(other.getSysPlatform()))
            && (this.getSource() == null ? other.getSource() == null : this.getSource().equals(other.getSource()))
            && (this.getUpdatetimestamp() == null ? other.getUpdatetimestamp() == null : this.getUpdatetimestamp().equals(other.getUpdatetimestamp()))
            && (this.getChannel() == null ? other.getChannel() == null : this.getChannel().equals(other.getChannel()))
            && (this.getUserAddressId() == null ? other.getUserAddressId() == null : this.getUserAddressId().equals(other.getUserAddressId()))
            && (this.getTechParnterId() == null ? other.getTechParnterId() == null : this.getTechParnterId().equals(other.getTechParnterId()))
            && (this.getActualpayment() == null ? other.getActualpayment() == null : this.getActualpayment().equals(other.getActualpayment()))
            && (this.getOrderprice() == null ? other.getOrderprice() == null : this.getOrderprice().equals(other.getOrderprice()))
            && (this.getSubnumber() == null ? other.getSubnumber() == null : this.getSubnumber().equals(other.getSubnumber()))
            && (this.getOrderRoute() == null ? other.getOrderRoute() == null : this.getOrderRoute().equals(other.getOrderRoute()))
            && (this.getBuyernameEn() == null ? other.getBuyernameEn() == null : this.getBuyernameEn().equals(other.getBuyernameEn()))
            && (this.getBuyerphoneEn() == null ? other.getBuyerphoneEn() == null : this.getBuyerphoneEn().equals(other.getBuyerphoneEn()))
            && (this.getBuyerphoneHash() == null ? other.getBuyerphoneHash() == null : this.getBuyerphoneHash().equals(other.getBuyerphoneHash()))
            && (this.getInvoiceId() == null ? other.getInvoiceId() == null : this.getInvoiceId().equals(other.getInvoiceId()))
            && (this.getDisaccount() == null ? other.getDisaccount() == null : this.getDisaccount().equals(other.getDisaccount()))
            && (this.getPricechannelid() == null ? other.getPricechannelid() == null : this.getPricechannelid().equals(other.getPricechannelid()))
            && (this.getOrderExtstatus() == null ? other.getOrderExtstatus() == null : this.getOrderExtstatus().equals(other.getOrderExtstatus()))
            && (this.getAutouserid() == null ? other.getAutouserid() == null : this.getAutouserid().equals(other.getAutouserid()))
            && (this.getAutousername() == null ? other.getAutousername() == null : this.getAutousername().equals(other.getAutousername()))
            && (this.getStatisticsinfo() == null ? other.getStatisticsinfo() == null : this.getStatisticsinfo().equals(other.getStatisticsinfo()))
            && (this.getBatchno() == null ? other.getBatchno() == null : this.getBatchno().equals(other.getBatchno()))
            && (this.getBuserId() == null ? other.getBuserId() == null : this.getBuserId().equals(other.getBuserId()))
            && (this.getPvareaid() == null ? other.getPvareaid() == null : this.getPvareaid().equals(other.getPvareaid()))
            && (this.getDevice() == null ? other.getDevice() == null : this.getDevice().equals(other.getDevice()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrdernum() == null) ? 0 : getOrdernum().hashCode());
        result = prime * result + ((getBuyerid() == null) ? 0 : getBuyerid().hashCode());
        result = prime * result + ((getBuytime() == null) ? 0 : getBuytime().hashCode());
        result = prime * result + ((getExpirationtime() == null) ? 0 : getExpirationtime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getClientip() == null) ? 0 : getClientip().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getIdcode() == null) ? 0 : getIdcode().hashCode());
        result = prime * result + ((getSellerid() == null) ? 0 : getSellerid().hashCode());
        result = prime * result + ((getPayTradeNo() == null) ? 0 : getPayTradeNo().hashCode());
        result = prime * result + ((getExtIdcode() == null) ? 0 : getExtIdcode().hashCode());
        result = prime * result + ((getAdditionalInfo() == null) ? 0 : getAdditionalInfo().hashCode());
        result = prime * result + ((getBuyername() == null) ? 0 : getBuyername().hashCode());
        result = prime * result + ((getBuyerphone() == null) ? 0 : getBuyerphone().hashCode());
        result = prime * result + ((getFinishedtime() == null) ? 0 : getFinishedtime().hashCode());
        result = prime * result + ((getPaytime() == null) ? 0 : getPaytime().hashCode());
        result = prime * result + ((getProcessingTime() == null) ? 0 : getProcessingTime().hashCode());
        result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
        result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
        result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
        result = prime * result + ((getSysVersion() == null) ? 0 : getSysVersion().hashCode());
        result = prime * result + ((getSysPlatform() == null) ? 0 : getSysPlatform().hashCode());
        result = prime * result + ((getSource() == null) ? 0 : getSource().hashCode());
        result = prime * result + ((getUpdatetimestamp() == null) ? 0 : getUpdatetimestamp().hashCode());
        result = prime * result + ((getChannel() == null) ? 0 : getChannel().hashCode());
        result = prime * result + ((getUserAddressId() == null) ? 0 : getUserAddressId().hashCode());
        result = prime * result + ((getTechParnterId() == null) ? 0 : getTechParnterId().hashCode());
        result = prime * result + ((getActualpayment() == null) ? 0 : getActualpayment().hashCode());
        result = prime * result + ((getOrderprice() == null) ? 0 : getOrderprice().hashCode());
        result = prime * result + ((getSubnumber() == null) ? 0 : getSubnumber().hashCode());
        result = prime * result + ((getOrderRoute() == null) ? 0 : getOrderRoute().hashCode());
        result = prime * result + ((getBuyernameEn() == null) ? 0 : getBuyernameEn().hashCode());
        result = prime * result + ((getBuyerphoneEn() == null) ? 0 : getBuyerphoneEn().hashCode());
        result = prime * result + ((getBuyerphoneHash() == null) ? 0 : getBuyerphoneHash().hashCode());
        result = prime * result + ((getInvoiceId() == null) ? 0 : getInvoiceId().hashCode());
        result = prime * result + ((getDisaccount() == null) ? 0 : getDisaccount().hashCode());
        result = prime * result + ((getPricechannelid() == null) ? 0 : getPricechannelid().hashCode());
        result = prime * result + ((getOrderExtstatus() == null) ? 0 : getOrderExtstatus().hashCode());
        result = prime * result + ((getAutouserid() == null) ? 0 : getAutouserid().hashCode());
        result = prime * result + ((getAutousername() == null) ? 0 : getAutousername().hashCode());
        result = prime * result + ((getStatisticsinfo() == null) ? 0 : getStatisticsinfo().hashCode());
        result = prime * result + ((getBatchno() == null) ? 0 : getBatchno().hashCode());
        result = prime * result + ((getBuserId() == null) ? 0 : getBuserId().hashCode());
        result = prime * result + ((getPvareaid() == null) ? 0 : getPvareaid().hashCode());
        result = prime * result + ((getDevice() == null) ? 0 : getDevice().hashCode());
        return result;
    }
}